﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using eStudying.Core.Objects;

namespace eStudying.Repository
{
    public class EStudyingContext : DbContext
    {
        public EStudyingContext()
            : base("name=DBConnection") 
        {

        }
        public DbSet<User> Users { get; set; }
        public DbSet<Article> Articles { get; set; }
        public DbSet<ChooseQuestion> ChooseQuestions { get; set; }
    }
}
